<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:c="http://java.sun.com/jsp/jstl/core">

    <body>

        <ui:composition template="./template/template.xhtml">

            <ui:define name="content">
                <table width="100%" cellpadding="0" cellspacing="0" border="0">
                    <tr>
                        <!--  left column -->
                        <td width="588" valign="top"><table width="588" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td><!--  news section -->
                                        <table width="100%" cellpadding="0" cellspacing="0" border="0">
                                            <tr>
                                                <td><img src="images/en/listing_feature1.gif" alt=""/></td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <table width="100%" cellspacing="0" cellpadding="0" class="blue_border1px">
                                                        <tr>
                                                            <td valign="top">
                                                                <table width="100%" cellpadding="0" cellspacing="2">
                                                                    <tr>
                                                                        <td bgcolor="#ffffff">
                                                                            <h:form>
                                                                                <h:dataTable value="#{realEstateController.items1}" var="item1" border="0" cellpadding="2" cellspacing="0" rules="all" style="border:solid 1px">
                                                                                    <h:column>
                                                                                        <div class="column4">
                                                                                            <table>
                                                                                                <tr>
                                                                                                    <td>
                                                                                                        <font color='#30ADF1'><b><h:outputText value="#{item1.title}"/></b></font>                                               
                                                                                                    </td>
                                                                                                </tr>
                                                                                                <tr>
                                                                                                    <td>
                                                                                                        <img src="resources/#{item1.imageURL}" alt="" width="150" height="150" border="0" class="dev" title=""/>
                                                                                                    </td>
                                                                                                    <td>
                                                                                                        <div class="offer_info">
                                                                                                            <p class="offer">
                                                                                                                <b>Price : </b><h:outputText value="#{item1.price}"/> <h:outputText value="#{item1.priceType}"/><br/>
                                                                                                                <b>City : </b><h:outputText value="#{citiesController.findByID(item1.cityID.cityID).name}"/> <br/>
                                                                                                                <b>Location : </b><h:outputText value="#{item1.location}"/><br/>
                                                                                                                <b>Bedrooms : </b><h:outputText value="#{item1.noOfBedrooms}"/><br/>
                                                                                                                <b>Bathrooms : </b><h:outputText value="#{item1.noOfBathrooms}"/><br/>
                                                                                                            </p>      
                                                                                                            <div class="more"> <h:commandLink action="#{realEstateController.prepareView1()}" value="...more"/></div>
                                                                                                        </div>
                                                                                                    </td>
                                                                                                </tr>
                                                                                            </table>
                                                                                        </div>
                                                                                    </h:column>
                                                                                </h:dataTable>
                                                                            </h:form>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td bgcolor="#e7f3fe">
                                                                <div align="center">
                                                                    <h:form>
                                                                        <c:forEach var="i" begin="1" end="#{realEstateController.totalPage1()}" step="1" varStatus ="status">
                                                                            <h:commandLink action="#{realEstateController.viewPage1(i-1)}" value="#{i}"/>&nbsp;
                                                                        </c:forEach>
                                                                        <h:commandLink action="#{realEstateController.previous1()}" value="#{bundle.Previous}" rendered="#{realEstateController.pagination1.hasPreviousPage}"/>&nbsp;
                                                                        <h:commandLink action="#{realEstateController.next1()}" value="#{bundle.Next}" rendered="#{realEstateController.pagination1.hasNextPage}"/>&nbsp;
                                                                    </h:form>
                                                                </div>
                                                            </td>
                                                        </tr>
                                                    </table></td>
                                            </tr>
                                        </table></td>
                                </tr>            	  
                            </table></td>
                        <td width="8"></td>
                        <!--  right column -->
                        <td valign="top"><table width="100%" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td><!-- BDSI section --></td>
                                </tr>
                                <tr bgcolor="#e7f3fe" class="blue_border1px">
                                    <td align="center"><table cellpadding="0" cellspacing="0">
                                            <tr>
                                                <td colspan="3"><img src="images/en/Quick search.gif" alt="" width="365"/></td>
                                            </tr>
                                            <tr>
                                                <td style="cursor:pointer" bgcolor="#0087cc">&nbsp;</td>
                                            </tr>
                                        </table></td>
                                </tr>
                                <tr>
                                    <td height="5"></td>
                                </tr>
                                <tr>
                                    <td><!-- AD2 section -->
                                        <table width="100%" cellpadding="3" cellspacing="0">
                                            <tr>
                                                <td bgcolor="#CCCCCC" align="center">
                                                    <embed height="162" width="358" scale="exactfit" menu="false" allowscriptaccess="always" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" quality="high" src="quangcao/seni-banner380x160.swf"/>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="5"></td>
                                </tr>
                                <tr>
                                    <td><!-- AD3 section -->
                                        <table width="100%" cellpadding="3" cellspacing="0">
                                            <tr>
                                                <td bgcolor="#CCCCCC" align="center"><img src="quangcao/vib_ver2_380x160.gif" width="358" height="162" /></td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="5"></td>
                                </tr>
                                <tr>
                                    <td><!-- developments section -->
                                        <table width="100%" cellpadding="0" cellspacing="0">
                                            <tr>
                                                <td colspan="3"><img src="images/en/feature1.gif" width="365"/></td>
                                            </tr>
                                            <tr>
                                                <td valign="top" bgcolor="#0087cc"><table bgcolor="#e7f3fe" width="100%" cellspacing="0" cellpadding="0" class="blue_border1px" height="483">
                                                        <tr>
                                                            <td height="10"></td>
                                                        </tr>
                                                        <!-- development 1 -->
                                                        <tr>
                                                            <td width="5"></td>
                                                            <td valign="top"><img class="dev" src="quangcao/Avalon.jpg" width="100" height="100"/></td>
                                                            <td width="3"></td>
                                                            <td valign="top"><table width="100%" cellpadding="0" cellspacing="5" height="142">
                                                                    <tr>
                                                                        <td><a href="nhom/113_Avalon-Saigon-Apartments" class="development3">Avalon Saigon Apartments</a></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td align="justify"> Avalon gives you the city's prime living position; delivering you to the heart of this vibrant city... </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td height="34"><table cellpadding="0" cellspacing="0">
                                                                                <tr>
                                                                                    <td><img src="images/links-left.gif"/></td>
                                                                                    <td bgcolor="#FFFFFF" style="padding:0 3px 3px 0px; color:#0081a7;border-top:1px solid #9ADEF3;border-bottom:1px solid #9ADEF3;"><table cellspacing="0" cellpadding="0">
                                                                                            <tr>
                                                                                                <td></td>
                                                                                                <td bgcolor="#FFFFFF"><a href="http://en.metvuong.com/nhom/113_Avalon-Saigon-Apartments">Find out more</a></td>
                                                                                            </tr>
                                                                                        </table></td>
                                                                                    <td><img src="images/links-right.gif"/></td>
                                                                                </tr>
                                                                            </table></td>
                                                                    </tr>
                                                                </table></td>
                                                            <td width="10"></td>
                                                        </tr>
                                                        <tr>
                                                            <td height="20" colspan="5" valign="top" align="center">.....................................................................................</td>
                                                        </tr>
                                                        <!-- development 2 -->
                                                        <tr>
                                                            <td width="5"></td>
                                                            <td valign="top"><img class="dev" src="quangcao/vib_ver2_380x160.gif" width="100" height="100"/></td>
                                                            <td width="3"></td>
                                                            <td valign="top"><table width="100%" cellpadding="0" cellspacing="5">
                                                                    <tr>
                                                                        <td><a href="nhom/38_Saigon-Pearl" class="development3">Saigon Pearl</a></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td align="justify"> Saigon Pearl is designed to provide an all-in-one-fully-serviced, high quality commercial, high- rise residential and office facilities... </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td><table cellpadding="0" cellspacing="0">
                                                                                <tr>
                                                                                    <td><img src="images/links-left.gif"/></td>
                                                                                    <td bgcolor="#FFFFFF" style="padding:0 3px 3px 0px; color:#0081a7;border-top:1px solid #9ADEF3;border-bottom:1px solid #9ADEF3;"><table cellspacing="0" cellpadding="0">
                                                                                            <tr>
                                                                                                <td></td>
                                                                                                <td bgcolor="#FFFFFF"><a href="http://en.metvuong.com/nhom/113_Avalon-Saigon-Apartments">Find out more</a></td>
                                                                                            </tr>
                                                                                        </table></td>
                                                                                    <td><img src="images/links-right.gif"/></td>
                                                                                </tr>
                                                                            </table></td>
                                                                    </tr>
                                                                </table></td>
                                                            <td width="10"></td>
                                                        </tr>
                                                        <tr>
                                                            <td height="20" colspan="5" valign="top" align="center">......................................................................................</td>
                                                        </tr>
                                                        <!-- development 3 -->
                                                        <tr>
                                                            <td width="5"></td>
                                                            <td valign="top"><img class="dev" src="quangcao/468_Picture2.jpg" width="100" height="100"/></td>
                                                            <td width="3"></td>
                                                            <td valign="top"><table width="100%" cellpadding="0" cellspacing="5">
                                                                    <tr>
                                                                        <td><a href="nhom/42_The-Manor-HCM" class="development3">The Manor HCM</a></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td align="justify"> The Manor sets a new standard in wonderful living with the luxurious and comfortable apartments with European standards... </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td><table cellpadding="0" cellspacing="0">
                                                                                <tr>
                                                                                    <td><img src="images/links-left.gif"/></td>
                                                                                    <td bgcolor="#FFFFFF" style="padding:0 3px 3px 0px; color:#0081a7;border-top:1px solid #9ADEF3;border-bottom:1px solid #9ADEF3;"><table cellspacing="0" cellpadding="0">
                                                                                            <tr>
                                                                                                <td></td>
                                                                                                <td bgcolor="#FFFFFF"><a href="http://en.metvuong.com/nhom/113_Avalon-Saigon-Apartments">Find out more</a></td>
                                                                                            </tr>
                                                                                        </table></td>
                                                                                    <td><img src="images/links-right.gif"/></td>
                                                                                </tr>
                                                                            </table></td>
                                                                    </tr>
                                                                </table></td>
                                                            <td width="10"></td>
                                                        </tr>
                                                        <tr>
                                                            <td height="20" colspan="5" valign="top" align="center">......................................................................................</td>
                                                        </tr>
                                                        <tr>
                                                            <td height="5"></td>
                                                        </tr>
                                                        <tr>
                                                            <td align="center" colspan="4"><table cellspacing="0" cellpadding="5">
                                                                    <tr>
                                                                        <td bgcolor="#559C00" height="25" valign="middle"><a href="phat_trien.php" style="color:#FFFFFF"><b>View other developments </b></a></td>
                                                                        <td bgcolor="#559C00"><img src="temp.PNG" />&nbsp;</td>
                                                                    </tr>
                                                                </table></td>
                                                        </tr>
                                                        <tr>
                                                            <td height="15"></td>
                                                        </tr>
                                                    </table></td>
                                            </tr>
                                        </table></td>
                                </tr>
                            </table></td>
                    </tr>
                </table>
            </ui:define>

        </ui:composition>

    </body>
</html>
